package com.nodecollege.cloud.service;

import java.io.File;
import java.util.List;

/**
 * @author LC
 * @date 2021/1/21 15:09
 */
public interface MailSendService {

    // 发送邮件验证码
    void sendEmailCert(String email, String cert);

    // 验证邮箱验证码
    Boolean checkEmailCert(String email, String cert);

    // 删除邮箱验证码
    void delEmailCert(String email);

    void sendEmail(String toMail, String title, String content);

    void sendSimpleMail(String toMail, String replyTo, String title, String content, List<File> files);

    void sendHtmlMail(String toMail, String replyTo, String title, String htmlContent, List<File> files);
}
